// 搜索
import request from '@/utils/request'
export function getSearchSuggestions (keyword) {
  return request({
    url: '/app/v1_0/suggestion',
    method: 'GET',
    params: {
      // 检索关键字
      q: keyword
    }
  })
}

export function getSearch (params) {
  return request({
    url: '/app/v1_0/search',
    method: 'GET',
    params
  })
}
